package Type

func Convert[T any](value interface{}, inst T) T {
	out, ok := value.(T)
	if !ok {
		return nil
	}

	return out
}
